package com.guinea.core;

import org.apache.struts.util.MessageResources;
import org.apache.struts.util.PropertyMessageResourcesFactory;

public class MyPropertyMessageResourcesFactory extends
		PropertyMessageResourcesFactory {

    // --------------------------------------------------------- Public Methods


    /**
     * Create and return a newly instansiated <code>MessageResources</code>.
     * This method must be implemented by concrete subclasses.
     *
     * @param config Configuration parameter(s) for the requested bundle
     */
    public MessageResources createResources(String config) {

        return new MyPropertyMessageResources(this, config, this.returnNull);

    }
}
